﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using System.Drawing;

using agvcontroller.Common;

namespace agvcontroller.GUI.Main.VehicleMonitor
{
    class CNode2D
    {
        Grid gridNode = new Grid();
        Label lblName = new Label();
        Rectangle rectNode = new Rectangle();
        CNode Node;

        public CNode2D(CNode node)
        {
            Node = node;

            InitUI();
        }

        void InitUI()
        {
            RowDefinition row = new RowDefinition();
            gridNode.RowDefinitions.Add(row);

            row = new RowDefinition();
            gridNode.RowDefinitions.Add(row);

            rectNode.Size = new Size(30, 30);
            lblName.Content = Node.Name;
        }
    }
}
